package com.teacherprofile.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum CheckStatus {
    WAITING_CHECK(0, "待审核"),
    PASS(1, "已审核"),
    REJECT(2, "驳回");
    @JsonValue
    @EnumValue
    Integer code;
    String desc;

    CheckStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }
}
